<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="/End/Public/Admin/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/End/Public/Admin/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="/End/Public/Admin/Css/style.css" />
    <script type="text/javascript" src="/End/Public/Admin/Js/jquery.js"></script>
    <script type="text/javascript" src="/End/Public/Admin/Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="/End/Public/Admin/Js/bootstrap.js"></script>
    <script type="text/javascript" src="/End/Public/Admin/Js/ckform.js"></script>
    <script type="text/javascript" src="/End/Public/Admin/Js/common.js"></script>

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }
        .pages a,.pages span {
            display:inline-block;
            padding:2px 5px;
            margin:0 1px;
            border:1px solid #f0f0f0;
            -webkit-border-radius:3px;
            -moz-border-radius:3px;
            border-radius:3px;
        }
        .pages a,.pages li {
            display:inline-block;
            list-style: none;
            text-decoration:none; color:#58A0D3;
        }
        .pages a.first,.pages a.prev,.pages a.next,.pages a.end{
            margin:0;
        }
        .pages a:hover{
            border-color:#50A8E6;
        }
        .pages span.current{
            background:#50A8E6;
            color:#FFF;
            font-weight:700;
            border-color:#50A8E6;
        }


    </style>
</head>
<body>
<form class="form-inline definewidth m20" action="<?php echo U('worker/index');?>" method="post">
    姓名：
    <input type="text" name="name" id="rolename"class="abc input-default" placeholder="" value="">&nbsp;&nbsp;
    <button type="submit" class="btn btn-primary">搜索</button>&nbsp;&nbsp;
</form>
<table class="table table-bordered table-hover definewidth m10" >
    <thead>
    <tr>
        <th>编号</th>
        <th>真实姓名</th>
        <th>身份证号码</th>
        <th>手机号</th>
        <th>时间</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    </thead>
            <?php if(is_array($doctors_info)): foreach($doctors_info as $key=>$vo): ?><tr>
                    <td><?php echo ($vo["id"]); ?></td>
                    <td><?php echo ($vo["name"]); ?></td>
                    <td><?php echo ($vo["id_no"]); ?></td>
                    <td><?php echo ($vo["phone"]); ?></td>
                    <td><?php echo ($vo["start_time"]); ?></td>
                    <td>
                        <?php if($vo['status']==1): ?>已审核  <?php else: ?> 待审核<?php endif; ?></td>
                    <td>
                        <a href="<?php echo U('Admin/audit/getDoctorDetail',array('id'=>$vo['id'],'flag'=>1),'');?>">查看</a>
                    </td>
                </tr><?php endforeach; endif; ?>
	    </table>
<div class="pages" style="float: right">
    <?php echo ($page); ?>
</div>
		</body>
		</html>

<script>
    $(function () {
        
		$('#addnew').click(function(){

				window.location.href="<?php echo U('role/add');?>";
		 });


    });

	function del(id)
	{
		
		
		if(confirm("确定要删除吗？"))
		{
		
			var url = "index.html";
			
			window.location.href=url;		
		
		}
	
	
	
	
	}
</script>